package com.example.as.Service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.as.Mapper.RecordMapper;
import com.example.as.Mapper.RelationMapper;
import com.example.as.Service.RecordService;
import com.example.as.Service.RelationService;
import com.example.as.entity.ChatMessage;
import com.example.as.entity.Record;
import com.example.as.entity.Relation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;
import java.util.List;

@Service
public class RelationServiceImpl extends ServiceImpl<RelationMapper, Relation> implements RelationService {

    @Autowired
    RelationMapper relationMapper;

    @Override
    public List<Relation> getRelationList(String masterAccount){
        return relationMapper.getRelationList(masterAccount);
    }
}
